package com.platform.module.dao.mapper;

import com.platform.module.dao.config.db.DS;
import com.platform.module.pojo.UserRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TestMapper {

    @DS("db2")
    @Select("select * from tb_user where user_id = #{userId}")
    UserRecord findUserByUid(Long userId);
}
